package com.service.admin.admin.service;

import com.service.admin.admin.controller.request.MenuReq;
import com.service.admin.admin.controller.response.MenuResp;
import com.service.admin.admin.controller.response.UserMenuResp;
import com.service.dao.po.MenuItemPO;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年07月27日</dd>
 * </dl>
 *
 * @author
 */
public interface SysMenuService {


    MenuResp getMenuById(Integer id);

    List<MenuItemPO> listAllMenu();

    List<MenuItemPO> listAllMenuTree();

    List<UserMenuResp> initUserMenu();

    void saveMenu(MenuReq menuReq);

    void deleteMenu(Integer id);

}
